/**
 * 
 */
package apache.io;

import java.io.File;
import java.io.IOException;

import org.apache.commons.io.FileUtils;

/**
 * @author TieSheng
 * 2010-8-26 ����04:53:07
 */
public class TestFileCopy {

	public static void main(String[] args) {
		File srcFile = new File("d:\\test.txt");
		File destFile = new File("d:\\test\\test1.txt");
		
		try {
			
			FileUtils.copyFile(srcFile, destFile);
		} catch (IOException e) {
			e.printStackTrace();
		}

	}

}
